package components.terrain;

import components.PacmanComponent;
import components.Shape;
import components.SquareShape;
import components.scenes.MainGameScene;

public class Terrain extends PacmanComponent{

	public static int DIAMETER = 20;
	public static int HEIGHT = 20;
	
	public Terrain(double x, double y) {
		super(DIAMETER, HEIGHT, x, y);
	}

	@Override
	public Shape defineShape() {
		return new SquareShape(this);
	}

	@Override
	public void addToScene(MainGameScene mainGameScene, int x, int y) {
		mainGameScene.addTerrain(this, x, y);
	}
}
